<?php

namespace App\Commands;

use App\Entities\Base\AbstractEntity;

class CreateVulnerability extends CreateSomething
{
    /** @var array */
    protected $assetIds;

    /**
     * CreateVulnerability constructor.
     *
     * @param int $id
     * @param AbstractEntity $entity
     * @param bool $multiMode
     * @param array $assetIds
     */
    public function __construct($id, AbstractEntity $entity, array $assetIds = [], $multiMode = false)
    {
        $this->assetIds = $assetIds;
        parent::__construct($id, $entity, $multiMode);
    }

    /**
     * @return array
     */
    public function getAssetIds(): array
    {
        return $this->assetIds;
    }
}